<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>登录</title>
    <style>
        .form_con{
            width: 400px;
            height: 300px;
            background: #b3530a;
            margin: 0 auto;
            padding: 20px;

        }
        .form_con:hover{
            width: 400px;
            height: 300px;
            background: #c67135;
            margin: 0 auto;
            padding: 20px;
        }
        #kw{
            background: #1596d7;
        }

        button{
            width: 230px;
        }

body{
    background: #1596d7;
    }
    </style>
</head>
<body>
<div class="form_con">
    <h3>登录</h3>
     <form action="www.baidu.com" method="post">
        <p>
            <label style="color: #1596d7" >姓名：<input id="kw" type="text" placeholder="请输入姓名"></label>
        </p>
        <p>
            <label>密码：<input type="password" placeholder="请输入密码"></label>
        </p>
        <button type="submit">注册</button>
    </form>
</div>
</body>
</html>